package shuai.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import shuai.model.Userme;

public interface UserService {

    /**
     * 登录验证
     * @param loginName
     * @param password
     * @return
     * */

    public Userme loginUser(String loginName,String password);

    @Transactional(rollbackFor=Exception.class)
    public boolean regiterUser(Userme userme) throws Exception;
}
